package ForSoSo.entity;

public class ConsumInfo {
    private String cardNumber;//卡号
    private String type;//消费类型：通话，发短信，上网
    private int consumData;//消费数据 通话：分钟，发短信：条，上网：MB

    /*
     * 消费信息
     * */
    public ConsumInfo() {
    }

    public ConsumInfo(String cardNumber, String type, int consumData) {
        this.cardNumber = cardNumber;
        this.type = type;
        this.consumData = consumData;
    }

    /**
     * 获取
     *
     * @return cardNumber
     */
    public String getCardNumber() {
        return cardNumber;
    }

    /**
     * 设置
     *
     * @param cardNumber
     */
    public void setCardNumber(String cardNumber) {
        this.cardNumber = cardNumber;
    }

    /**
     * 获取
     *
     * @return type
     */
    public String getType() {
        return type;
    }

    /**
     * 设置
     *
     * @param type
     */
    public void setType(String type) {
        this.type = type;
    }

    /**
     * 获取
     *
     * @return consumData
     */
    public int getConsumData() {
        return consumData;
    }

    /**
     * 设置
     *
     * @param consumData
     */
    public void setConsumData(int consumData) {
        this.consumData = consumData;
    }

    public String toString() {
        return "ConsumInfo{cardNumber = " + cardNumber + ", type = " + type + ", consumData = " + consumData + "}";
    }
}
